Optimal. Leaf size=48 \[ -\frac {3 (47 x+37)}{5 \left (3 x^2+5 x+2\right )}+23 \log (x+1)+\frac {52}{25} \log (2 x+3)-\frac {627}{25} \log (3 x+2) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {822, 800} \[ -\frac {3 (47 x+37)}{5 \left (3 x^2+5 x+2\right )}+23 \log (x+1)+\frac {52}{25} \log (2 x+3)-\frac {627}{25} \log (3 x+2) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 800
Rule 822
Rubi steps
\begin {align*} \int \frac {5-x}{(3+2 x) \left (2+5 x+3 x^2\right )^2} \, dx &=-\frac {3 (37+47 x)}{5 \left (2+5 x+3 x^2\right )}-\frac {1}{5} \int \frac {397+282 x}{(3+2 x) \left (2+5 x+3 x^2\right )} \, dx\\ &=-\frac {3 (37+47 x)}{5 \left (2+5 x+3 x^2\right )}-\frac {1}{5} \int \left (-\frac {115}{1+x}-\frac {104}{5 (3+2 x)}+\frac {1881}{5 (2+3 x)}\right ) \, dx\\ &=-\frac {3 (37+47 x)}{5 \left (2+5 x+3 x^2\right )}+23 \log (1+x)+\frac {52}{25} \log (3+2 x)-\frac {627}{25} \log (2+3 x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 48, normalized size = 1.00 \[ \frac {1}{25} \left (-\frac {15 (47 x+37)}{3 x^2+5 x+2}-627 \log (-6 x-4)+575 \log (-2 (x+1))+52 \log (2 x+3)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.83, size = 71, normalized size = 1.48 \[ -\frac {627 \, {\left (3 \, x^{2} + 5 \, x + 2\right )} \log \left (3 \, x + 2\right ) - 52 \, {\left (3 \, x^{2} + 5 \, x + 2\right )} \log \left (2 \, x + 3\right ) - 575 \, {\left (3 \, x^{2} + 5 \, x + 2\right )} \log \left (x + 1\right ) + 705 \, x + 555}{25 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 45, normalized size = 0.94 \[ -\frac {3 \, {\left (47 \, x + 37\right )}}{5 \, {\left (3 \, x + 2\right )} {\left (x + 1\right )}} - \frac {627}{25} \, \log \left ({\left | 3 \, x + 2 \right |}\right ) + \frac {52}{25} \, \log \left ({\left | 2 \, x + 3 \right |}\right ) + 23 \, \log \left ({\left | x + 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 40, normalized size = 0.83 \[ -\frac {627 \ln \left (3 x +2\right )}{25}+\frac {52 \ln \left (2 x +3\right )}{25}+23 \ln \left (x +1\right )-\frac {51}{5 \left (3 x +2\right )}-\frac {6}{x +1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.46, size = 42, normalized size = 0.88 \[ -\frac {3 \, {\left (47 \, x + 37\right )}}{5 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}} - \frac {627}{25} \, \log \left (3 \, x + 2\right ) + \frac {52}{25} \, \log \left (2 \, x + 3\right ) + 23 \, \log \left (x + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 36, normalized size = 0.75 \[ 23\,\ln \left (x+1\right )-\frac {627\,\ln \left (x+\frac {2}{3}\right )}{25}+\frac {52\,\ln \left (x+\frac {3}{2}\right )}{25}-\frac {\frac {47\,x}{5}+\frac {37}{5}}{x^2+\frac {5\,x}{3}+\frac {2}{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.18, size = 41, normalized size = 0.85 \[ - \frac {141 x + 111}{15 x^{2} + 25 x + 10} - \frac {627 \log {\left (x + \frac {2}{3} \right )}}{25} + 23 \log {\left (x + 1 \right )} + \frac {52 \log {\left (x + \frac {3}{2} \right )}}{25} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________